Vercel
API ReferenceChats

Create Vercel Project

Creates a Vercel project and attaches it to the chat.

POST/v2/chats/{chatId}/vercel-project

Usage

TypeScript Example
import { v0 } from 'v0-sdk'const result = await v0.chats.createVercelProject({  chatId: 'chat_abc123',})console.log(result)

API Signature

Request

Path Parameters

chatId: string

The unique identifier of the chat.

Request Body

name?: string

Name for the Vercel project. When omitted, the chat's title is used.

Response

vercelProjectId: string

Created Vercel project ID.

On this page